﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SaleLoseMgr.aspx.cs" Inherits="SaleLoseMgr" %>
<%@ Register Assembly="YYWebControl" Namespace="YYWebControl.YYSimpleCalendar" TagPrefix="YYWebControl" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>损益单管理</title>
    <LINK href="CSS/hfmanger.css" type="text/css" rel="stylesheet">
</head>
<body>
    <form id="form1" runat="server">
        <table  width="100%">
            <tr height=23>
                <td align="left" class="toolbar" colspan="3" style="height: 23px" valign="middle">
            <asp:Image ID="Image1" runat="server" ImageUrl="images/rss_2.gif" /><strong>损益货单管理</strong></td>
            </tr>
            <tr>
                <td align="left" colspan="3" style="height: 15px" valign="middle">
                </td>
            </tr>
            <tr>
            <td align=center > 
            <table style="width: 98%">
            <tr>
                <td align="left"  style="height: 20px" valign="middle" colspan="3" class="listContent">
                                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="ProductMgr.aspx"
                        Target="_blank" Font-Underline="True" Width="58px" >产品信息</asp:HyperLink><asp:HyperLink ID="HyperLink2" runat="server" Font-Underline="True" NavigateUrl="SaleStockMgr.aspx"
                        Target="_blank">库存信息</asp:HyperLink>
                    <asp:HyperLink ID="HyperLink3" runat="server" Font-Underline="True" NavigateUrl="CustomerMgr.aspx"
                        Target="_blank">客户信息</asp:HyperLink></td>
            </tr>
            <tr>
                <td align="left" class="listContent" style=" height: 23px; width: 69px;" valign="middle">
                    <asp:CheckBox ID="cbxBillCode" runat="server" Text="损益单号:" Width="75px" /><asp:TextBox ID="tbxBillCode"
                        runat="server" Width="142px"></asp:TextBox></td>
                <td class="listContent" style=" height: 23px; width: 56%;">
                    <asp:CheckBox ID="cbxDatetime" runat="server" Text="单据日期：从" Checked="True" />
                    <yywebcontrol:yysimplecalendar id="YYSimpleCalendar1" runat="server" Width="20px"></yywebcontrol:yysimplecalendar>
                    到<yywebcontrol:yysimplecalendar id="YYSimpleCalendar2" runat="server" Width="88px"></yywebcontrol:yysimplecalendar>
                </td>
                <td class="listContent" style="width: 49px; height: 23px">
                    <asp:ImageButton ID="ImageButton1" runat="server" Height="20px" ImageUrl="images/查询.gif"
                        Width="39px" OnClick="ImageButton1_Click" /></td>
            </tr>
            </table>
            </td>
            <tr>
                <td colspan="3" align=center >
                <table width="98%">
                                <tr>
                                    <td  class="listContent">
                    <asp:GridView ID="gvSaleLose" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="Horizontal" Width=100% PageSize="20" OnRowDataBound="gvSaleLose_RowDataBound" ShowFooter="True">
                        <FooterStyle Font-Bold="False" />
                        <Columns>
                            <asp:HyperLinkField DataTextField="Bill_Code" HeaderText="损益单号" DataNavigateUrlFields="WorkflowInsId" DataNavigateUrlFormatString="SaleLoseView.aspx?WorkflowInsId={0}" Target="_blank">
                                <ItemStyle Width="200px" />
                            </asp:HyperLinkField>
                            <asp:BoundField DataField="Bill_CreateName" HeaderText="填单人">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Bill_Money" HeaderText="单据金额">
                                <ItemStyle Width="150px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Bill_Memo" HeaderText="备注">
                                <ItemStyle Width="300px" />
                            </asp:BoundField>
                            <asp:HyperLinkField HeaderText="操作" Text="详细" DataNavigateUrlFields="WorkflowInsId" DataNavigateUrlFormatString="SaleLoseView.aspx?WorkflowInsId={0}" Target="_blank">
                                <ItemStyle Width="100px" />
                            </asp:HyperLinkField>
                        </Columns>
                        <RowStyle BackColor="#EFF3FB" />
                        <EditRowStyle BackColor="#2461BF" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle ForeColor="Black" HorizontalAlign="Center" />
                        <HeaderStyle Font-Bold="True" ForeColor="Black" HorizontalAlign="Left" CssClass="gridHead" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                    </td></tr>
                                    </table>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
